home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 3
/
Cream of the Crop 3.iso
/
comm
/
wnos5src.zip
/
ICMPMSG.C
< prev
next >
Wrap
Text File
|
1993-08-09
|
685b
|
48 lines
#include "global.h"
/* ICMP message types */
char *Icmptypes[] = {
"Echo Reply",
"",
"",
"Unreachable",
"Source Quench",
"Redirect",
"",
"",
"Echo Request",
"",
"",
"Time Exceeded",
"Parameter Problem",
"Timestamp",
"Timestamp Reply",
"Information Request",
"Information Reply"
};
/* ICMP unreachable messages */
char *Unreach[] = {
"Network",
"Host",
"Protocol",
"Port",
"Fragmentation",
"Source route"
};
/* ICMP Time exceeded messages */
char *Exceed[] = {
"Time-to-live",
"Fragment reassembly"
};
/* ICMP redirect messages */
char *Redirect[] = {
"Network",
"Host",
"TOS & Network",
"TOS & Host"
};